﻿@model Citi.EmailSender.WebUi.Models.EmailPreviewModel
@{
    ViewBag.Title = "Preview";
}
<h3>
    Preview Email - Do not forget that this is just to check the data below because
    Outlook can change the layout when it send this email</h3>
<hr />
<h2>@Html.DisplayFor(model => model.Subject)</h2>
<b>From: </b>@Model.SentOnBehalfOfName<br />
<b>To: </b>@Model.To<br />
@if (!string.IsNullOrWhiteSpace(Model.Cc))
{
    <b>Cc: </b>
    @Model.Cc<br />
}
@if (!string.IsNullOrWhiteSpace(Model.Bcc))
{
    <b>Bcc: </b>@Model.Bcc<br />
}
<br />
@Html.Raw(Model.BodyMessage)
